<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	request.setAttribute("path", path);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>设备管理系统-用户登录</title>
<link href="${path}/css/login.css" rel="stylesheet" type="text/css" />
<script src="${path}/js/lib/jquery-1.12.3.min.js"></script>
<script src="${path}/js/lib/jquery.form.js"></script>
<script src="${path}/js/web/login.js"></script>
<script src="${path}/js/lib/system/main.js"></script>
</head>
<body>
<input type="hidden" value="${path }" id="path"/>
<div id="login_center">
	<div id="login_area">
		<div id="login_box">
			<div id="login_form">
				<%-- <form id="submitForm"  action="${pageContext.request.contextPath}/user/login.do"  method="post" onsubmit="return checkForm()"> --%>
					<div id="login_tip">
						<span id="login_err" class="sty_txt2"></span>
					</div>
					<div>
						 用户名： <input type="text"  id="userName" name="userName" class="username"  value="${user.userName }" >
					</div>
					<div>
						密&nbsp;&nbsp;&nbsp;&nbsp;码：<input type="password"  id="password"  name="password" class="pwd"  value="${user.password }">
					</div>
					<div id="btn_area">
						<input  class="login_btn" id="login_sub"  value="登  录">
						<input  class="login_btn" id="login_ret" value="重 置">
					</div>
				<!-- </form> -->
			</div>
		</div>
	</div>
</div>
</body>
</html>